package loginBean;

public class LoginBean {
	private String userName;
	private String password;

	
	public String getUserName() {
		return userName;
	}


	public void setUserName(String userName) {
		this.userName = userName;
	}


	public String getPassword() {
		return password;
	}


	public void setPassword(String password) {
		this.password = password;
	}


	public boolean login(String userName,String password){
		boolean b=false;
		if(userName.equalsIgnoreCase("QQ")&&password.equals("1234")){
			b=true;
			return b;
		}
		else{
			b=false;
			return b;
		}
	}
}
